package com.hr.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.util.List;

/**
 *  招聘
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Wanted
{
    @Id
    private int id;
    private String name;
    private double salaryDown;
    private double salaryUP;
    private String tel;
    private String testLink;
    private String intro;
    private String status;//与用户关联时才有意义， 等待
    private boolean enable=true;

    private Company company;
    private Department department;

    private List<User> users;
}
